const getMsgList = require("./getMsgList/index");
const auditMsg = require("./auditMsg/index");

// 云函数入口函数
exports.main = async (event, context) => {
    switch (event.type) {
        case "getMsgList":
            return await getMsgList.main(event, context);
        case "auditMsg":
            return await auditMsg.main(event, context);
    }
};